package org.github.choviwu.example.common.annatation;

import org.springframework.web.bind.annotation.Mapping;

import java.lang.annotation.*;

@Inherited
@Documented
@Target({ElementType.FIELD,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Mapping
public @interface JsonController {
    //是否加密
    boolean encode () default false;
}
